package cn.gok.demo3.mapper;

import cn.gok.demo3.entity.Clazz;
import cn.gok.demo3.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xxxx
 * @since 2022-07-21
 */
@Mapper
@Repository
public interface ClazzMapper extends BaseMapper<Clazz> {

    List<Map<Clazz,Student>> findAll();
    List<Clazz> findAllClazz();

}
